import { createApp } from 'vue';
import App from './App.vue';
import { createPinia } from 'pinia';
import router from './router';
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import './assets/ys.css';// 引入全局样式


const app = createApp(App);
app.use(ElementPlus);
const pinia = createPinia();

// 配置 Vue 的 feature flags
app.config.__VUE_PROD_HYDRATION_MISMATCH_DETAILS__ = false;

app.use(pinia);
app.use(router);
app.mount('#app');